//定义两个主题
const theme = {
    chalk: {
        //背景颜色
        backgroundColor: "#161522",
        //标题文字颜色
        titleColor: "#fff",
        //切换主题按钮的图片
        themeSrc: "qiehuan_dark.png",
        //页面顶部边框的图片
        headerBorderSrc: "header_border_dark.png"
    },
    vintage: {
        //背景颜色
        backgroundColor: "#eee",
        //标题文字颜色
        titleColor: "#000",
        //切换主题按钮的图片
        themeSrc: "qiehuan_light.png",
        //页面顶部边框的图片
        headerBorderSrc: "header_border_light.png"
    }
}

export function getThemeValue(themeName) {
    return theme[themeName]
}